﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TVset
{
    class Timer
    {
        public Timer()
        {
            TimeSpan seconds = new TimeSpan(0, 0, 15);
            DateTime saveNow = DateTime.Now;
            saveNow += seconds;
            while (DateTime.Now < saveNow)
                Console.Write("");
        }
        public Timer(int seconds)
        {
            TimeSpan qwantity = new TimeSpan(0, 0, seconds);
            DateTime saveNow = DateTime.Now;
            saveNow += qwantity;
            while (DateTime.Now < saveNow)
                Console.Write("");
        }
        
    }
}
